package com.koushikdutta.ion;

import ohos.agp.components.element.PixelMapElement;
import ohos.media.image.PixelMap;

/**
 * Created by koush on 4/25/15.
 */
public interface BitmapDrawableFactory {
    public BitmapDrawableFactory DEFAULT = new BitmapDrawableFactory() {
        @Override
        public PixelMapElement fromBitmap(PixelMap bitmap) {
            return new PixelMapElement(bitmap);
        }
    };

    PixelMapElement fromBitmap(PixelMap bitmap);
}
